﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Acme.BookStore.FormWhxDto.RukuDto
{
    public class CreateRuKuWithDetailsDto
    {
        /// <summary>
        /// 主键Id  新增是可空Guid.Empty,修改时必填
        /// </summary>
        public Guid ? Id { get; set; }
        /// <summary>
        /// 基础表
        /// </summary>
        [Required]
        public CreateUpdateRuKuDto Ruku { get; set; }
        /// <summary>
        /// 明细表
        /// </summary>
        [Required]
        public List<CreateUpdateRuKuDetailsDto> RukuDetails { get; set; }
    }
}
